Moon phases 2020 for JapanMoon phases 2020 for Japan
月の満ち欠け 2020年度 日本向け
Full Moon is Purple line
満月は紫色
New Moon is Red line
新月は赤色
스크립트에서 "Moon Phases"에 대해 찾기
Moon Phases by Shailesh DesaiTrading Strategy Based on Lunar Phases
This custom trading indicator leverages the power of lunar cycles to provide unique market insights based on the four primary moon phases: New Moon, First Quarter, Full Moon, and Third Quarter. By aligning your trades with the natural rhythm of the moon, this strategy offers a different perspective to trading and can help enhance decision-making based on the cyclical nature of the market.
Key Features:
1. Moon Phase Identification:
o The indicator automatically identifies the current moon phase based on the user's selected timeframe and marks it on the chart.
o Each phase is visualized with a specific symbol and color to help traders easily recognize the current moon phase:
New Moon/Waxing Moon: Represented by a circle (colored as per user input).
First Quarter: Represented by a cross (colored as per user input).
Full Moon/Waning Moon: Represented by a circle (colored as per user input).
Third Quarter: Represented by a cross (colored as per user input).
2. Automatic Moon Phase Transition Detection:
o The indicator tracks and highlights when a phase change occurs. This feature ensures you are always aware of when the market moves from one phase to another.
o Moon phase changes are only visualized on the first bar of each new phase to avoid cluttering the chart.
3. Background Color Indicators:
o The background color dynamically changes according to the current moon phase, helping to reinforce the phase context for the trader. This feature makes it easy to see at a glance which phase the market is in.
4. Customizable Appearance:
o Customize the color of each moon phase to suit your preferences. Adjust the colors for the New Moon, First Quarter, Full Moon, and Third Quarter to align with your visual strategy.
5. Avoids Unsupported Timeframes:
o This indicator does not support monthly timeframes, ensuring that it operates smoothly only on timeframes that are compatible with the lunar cycle.
How to Use:
• The moon phases are thought to have an influence on human behavior and the market's psychology, making this indicator useful for traders who wish to integrate lunar cycles into their strategy.
• Traders can use the phase changes as an indicator of potential market momentum or reversal points. For example:
o New Moon may indicate the beginning of a new cycle, signaling a potential upward or downward move.
o Full Moon might suggest a peak or significant shift in market direction.
o First Quarter and Third Quarter phases may represent moments of consolidation or decision points.
Ideal for:
• Traders interested in cycle-based strategies or looking to experiment with new approaches.
• Those who believe in the influence of natural forces, including moon phases, on market movements.
• Technical analysts who want to add another layer of insights to their chart analysis.
Important Notes:
• The indicator uses precise astronomical calculations to identify the correct phase, ensuring accuracy.
• It’s important to understand that moon phase-based trading is not a standalone strategy but should ideally be combined with other technical analysis tools for maximum effectiveness.
Moon Phases Strategy [LuxAlgo]Trading moon phases has become quite popular among traders, believing that there exists a relationship between moon phases and market movements. This strategy is based on an estimate of moon phases with the possibility to use different methods to determine long/short positions based on moon phases.
Note that we assume moon phases are perfectly periodic with a cycle of 29.530588853 days (which is not realistically the case), as such there exists a difference between the detected moon phases by the strategy and the ones you would see. This difference becomes less important when using higher timeframes.
Settings
New Moon Reference Date: Date of a new moon to be used as starting point for the cycle calculation. Buy: Determine the condition to be used to open a long position Sell: Determine the condition to be used to open a short position
Description
The strategy can use different buy/sell conditions, these are determined in the Buy/Sell settings drop-down menu.
By default, the strategy goes long on a new moon and short on a full moon. This setup is common since full moons are said to be related to depressed mood. However, it is possible to use inverse conditions.
Users can also go long on higher moons (new moons or full moons occurring at a price that is higher than the previous one when a new/full moon occurred) and short on lower moons, this would return a trend following strategy, using the inverse conditions (buy lower moons/sell higher moons) would return a contrarian strategy.
The above chart displays the strategy using default conditions.
The above chart displays the strategy of going long on a higher moon and selling on a lower moon.
Quick Summary
We provide a quick summary of the strategy using default conditions (buy on a new moon, sell on a full moon) on various tickers using the 4h timeframe (note that using a lower timeframe would return a backtest executing a lower number of trades).
Constant position sizing is used and no frictional costs are considered.
BTCUSD
The moon phases strategy has been regularly tested with BTCUSD, with traders highlighting how moon phases tend to occur during tops/bottoms. We test the strategy from 2019-01-06 00:00.
Net Profit: $68544.86 Closed Trades : 67 % Profitability : 50.75 Max Drawdown : $18541.24 Max
TSLA
The strategy is tested from 2011-01-04 14:30
Net profit: $349.17 Closed Trades : 265 % Profitability : 54.34 Max Drawdown : $262.72
EURUSD
The strategy is tested from 2018-01-16 14:00.
Net profit: $-0.18 Closed Trades : 91 % Profitability : 50.55 Max Drawdown : 0.36
Moon Phases + Daily, Weekly, Monthly, Quarterly & Yearly Breaks█ Moon Phases
From LuxAlgo description.
Trading moon phases has become quite popular among traders, believing that there exists a relationship between moon phases and market movements.
This strategy is based on an estimate of moon phases with the possibility to use different methods to determine long/short positions based on moon phases.
Note that we assume moon phases are perfectly periodic with a cycle of 29.530588853 days (which is not realistically the case), as such there exists a difference between the detected moon phases by the strategy and the ones you would see. This difference becomes less important when using higher timeframes.
█ Daily, Weekly, Monthly, Quarterly & Yearly Breaks
This indicator marks the start of the selected periods with a vertical line that help with identifying cycles.
It allows to enable or disable independently the daily, weekly, monthly, quarterly and yearly session breaks.
This script is based on LuxAlgo and kaushi / icostan scripts.
Moon Phases Strategy
Year/Quarter/Month/Week/Day breaks
Month/week breaks
Moon Phases & Declinations - Chronos Capital [BETA]High-Precision Lunar Cycles: Moon Phases & Declinations (Swiss Ephemeris)
Overview
This indicator provides institutional-grade astronomical data directly on your chart. Unlike standard scripts that use basic sine-wave approximations, this tool implements the **Swiss Ephemeris algorithm**, the gold standard for high-precision celestial calculations.
By tracking the Moon’s phases and its **Maximum/Minimum Declinations**, traders can identify potential "turning points" or "energy shifts" in market volatility often associated with lunar cycles.
---
Key Features
Ultra-High Precision: Calculations are accurate to within *seconds* of time, ensuring that the visual plot aligns perfectly with astronomical reality.
Moon Phase Tracking: Distinct markers for New Moon, Full Moon, and Quarters.
Lunar Declination Peaks: Automatically identifies when the moon reaches its *Maximum North* and *Maximum South* points (Lunar Extremes).
Customizable Visuals: Toggle between background highlights, vertical lines, or plot signals to suit your trading style.
---
Technical Accuracy
This script is built using a ported version of the Swiss Ephemeris
Positional Accuracy: Within 0.1 arcseconds.
Time Accuracy: Within **~1-2 seconds** of official JPL data.
Algorithm: Integration of the *ELP2000-85* lunar theory for maximum reliability over decades of historical data.
---
### **How to Use**
1. **Reversal Zones:** Watch for the Moon’s *Max/Min Declination* points, which often coincide with local tops or bottoms in trending markets.
2. **Volatility Shifts:** Use the *New Moon* and *Full Moon* markers to anticipate periods of increased or decreased market liquidity and volume.
3. **Confluence:** Best used in combination with your existing price action or momentum indicators to add a "time-based" filter to your entries.
*Disclaimer: This tool is for educational and analytical purposes only. Lunar cycles are a study of time-based correlation, not a guaranteed financial signal.*
Moon Phases Strategy 2015 till 2021Moon Phases Strategy
Thank you to Author: Dustin Drummond for allowing me to use his Moon Phase strategy code and modify it. I wanted to test out the accuracy of the moon phase. And I could not have done it without his code
It was created to test the Moon Phase theory compared to just a buy and hold strategy.
It buys on full Moon and sells on the new moon. I also have added the ability to add stop loss and target profit if anyone wants to tinker with it. This strategy uses hard-coded dates from 1/1/2015 until 12/31/2021 only! Any dates outside of that range need to be added manually in the code or it will not work.
I may or may not update this so please don't be upset if it stops working after 12/31/2021.
Feel free to use any part of this code and please let me know if you can improve on this strategy.
Result:
50% accurate using data from 2015 till today.
I find a buy and hold strategy to have outperformed the moon phase.
It does have its value. It might be used as a confluence with other established indicators.
Moon Phases Long/Short StrategyThis is an experiment of Moon Phases, likely buy when full moon and sell when new moon with few changes, like it would buy a day ahead or sometimes sell a day post these events, with Stop loss and take profits, 50% profitable so sounds good to me
Long only good for bitcoin gold, both modes(L+S) better for stocks and alt coins
Next Moon Phases 2025Next Moon Phases 2025
This custom indicator marks both past and future moon phases with vertical lines on your chart, providing a unique way to incorporate lunar cycles into your trading strategy.
This indicator is best used on the Daily timeframe. The lunar cycle is most effective when viewed in daily bars, providing the clearest correlation between moon phases and market trends.
Key Features:
Past Moon Phases (2016–2024): Marks the key lunar phases—New Moon, First Quarter, Full Moon, and Last Quarter—with vertical lines on the chart. Perfect for backtesting and analyzing the historical relationship between moon phases and market movements.
Future Moon Phases (2025): Unlike most indicators, this tool also projects upcoming moon phases for 2025, allowing you to plan ahead and anticipate potential market reactions based on future lunar events.
Adjustable Visibility: Customize which moon phases are displayed by toggling the visibility of each phase (New Moon, First Quarter, Full Moon, Last Quarter) with a simple control.
Why Moon Phases Matter in Trading:
Many traders believe that the lunar cycle can influence market sentiment and behavior. For example:
New Moon is often associated with new beginnings and potential market reversals.
Full Moon is thought to bring increased volatility and market climaxes.
First Quarter and Last Quarter may indicate periods of consolidation or momentum shifts.
By including both past and future moon phases, this indicator allows you to examine historical data while also planning for upcoming lunar events, giving you a strategic edge for both short-term and long-term trading decisions.
2013-2025 Moon Phases & Mercury RetrogradesIndicator Description: 2013-2025 Moon Phases & Mercury Retrogrades
This Pine Script (version 5) indicator overlays key astrological events on a TradingView chart, specifically tracking full moons, new moons, and Mercury retrograde periods from 2013 to 2025. It is designed to help traders and astrology enthusiasts visualize these celestial events alongside price action, potentially identifying correlations or patterns.
Features:
New Moons:
Visualization: Plotted as small white circles above the price bars.
Data: Includes 156 specific new moon dates from January 11, 2013, to December 20, 2025.
Purpose: Marks the start of the lunar cycle, often associated with new beginnings or shifts in energy.
Full Moons:
Visualization: Plotted as small orange circles above the price bars.
Data: Includes 157 specific full moon dates from January 27, 2013, to December 15, 2025.
Purpose: Highlights the peak of the lunar cycle, often linked to heightened emotions or market volatility in astrological analysis.
Mercury Retrogrades:
Visualization: Displayed as a light red background highlight across the chart.
Data: Covers 39 Mercury retrograde periods, with precise start and end timestamps from February 23, 2013, to November 29, 2025.
Purpose: Indicates periods traditionally associated with communication issues, delays, or reversals, which some traders monitor for potential market impacts.
Technical Details:
Overlay: The indicator is set to overlay=true, meaning it displays directly on the price chart rather than in a separate pane.
Date Matching: Uses a helper function is_date(y, m, d) to check if the current chart date matches any of the predefined event dates, leveraging TradingView's year, month, and dayofmonth variables.
Visualization Methods:
plotshape: Used for new moons (white circles) and full moons (orange circles), positioned above bars for clear visibility.
bgcolor: Used for Mercury retrograde periods, applying a semi-transparent red highlight (transparency level 85) to the background during active retrograde periods.
Time Range: Spans from January 2013 to December 2025, providing a comprehensive 13-year view of these astrological events.
Usage:
Add the script to your TradingView chart to see new moons, full moons, and Mercury retrograde periods overlaid on your chosen symbol and timeframe.
The white and orange circles appear on specific dates, while the red background highlights extend across the duration of each Mercury retrograde period.
Useful for traders incorporating astrology into their analysis or anyone interested in tracking these celestial events alongside financial data.
Notes:
The script assumes accurate date data as provided; users should verify dates against astronomical sources if precision is critical.
The transparency of the Mercury retrograde background can be adjusted by modifying the value in color.new(color.red, 85) (0 = fully opaque, 100 = fully transparent).
Best viewed on daily or higher timeframes for clarity, though it works on any timeframe supported by TradingView.
This indicator provides a visual tool to explore the potential influence of lunar phases and Mercury retrograde periods on market behavior, blending astrology with technical analysis in a clear, customizable format.
[astropark] Moon Phases [alarms]Dear Followers,
today I'm glad to present you an indicator which calculates Moon Phases and let's you set an alert over it.
This is a public free indicator based on the public one by @paaax:
I added my usual alert system logic, plus some more customization inputs for easy coloring.
The lower the timeframe you use it and set your alerts on, the more precise the alert value you get.
Here below the script for backtesting it:
Enjoy!
-- astropark
Simple Moon Phases StrategySimple Moon Phases Strategy
This strategy is very basic and needs some filters to improve results. It was created to test the Moon Phase theory compared to just a buy and hold strategy and it did not beat the buy and hold. However, if you flip the entry and exit signals to the opposite signals it performs a lot worse, so there might be some validity to the Moon Phases having an effect on the markets. I might try to add some filters and increase hold times with trailing stops in a separate version.
WARNING: This strategy uses hard-coded dates from 1/1/2015 until 12/31/2021 only! Any dates outside of that range need to be added manually in the code or it will not work. I may or may not update this so please don't be upset if it stops working after 12/31/2021.
Feel free to use any part of this code and please let me know if you can improve on this strategy.
[astropark] Moon Phases [strategy]Dear Followers,
today I'm glad to present you an indicator which calculates Moon Phases and let's you backtest the simplest strategy over it: buy/sell on full moon and do the opposite on new moon.
This is a public free indicator based on the public one by @paaax:
I added my usual backtesting logic, plus some more customization inputs for easy coloring.
The lower the timeframe you backtest on, the more backtesting data are effective.
Enjoy!
-- astropark
Moon Phases + Blood MoonWhat it is
This is a simple, time-based strategy that goes long on full moons and exits on the next new moon, while visually highlighting historically known “Blood Moon” (total lunar eclipse) dates. It’s built for exploratory testing of lunar timing effects on price, not for predictive claims.
Why it’s useful / originality
Most lunar scripts only mark phases. This one (1) computes lunar phases on the chart, (2) normalizes and flags Blood Moon days from a curated list, and (3) turns the phase changes into an executable strategy with clear, reproducible entry/exit rules and a configurable start date—so traders can quickly evaluate whether a lunar timing overlay adds any edge on their market/timeframe.
How it works (concept)
Moon phase detection: Uses Julian date conversion and standard astronomical approximations to determine the most recent phase change at each bar. The script classifies phase turns as +1 = New Moon and –1 = Full Moon, tracking the latest valid time to avoid lookahead.
Blood Moon tagging: A built-in array of UTC timestamps (total lunar eclipses) is date-matched to the current session and marked as “Blood Moon” when a full moon coincides with a listed date.
Signals & trades
Plot circles above/below bars: New Moon (above), Full Moon (below), Blood Moon (below, red).
Entry: Long at Full Moon once the bar time ≥ the user’s Start date.
Exit: Close the long on the next New Moon.
How to use
Add to your chart (non-monthly timeframes only).
Optionally adjust the Start date (default: 2001-12-31 UTC) to control the backtest window.
Use the color inputs to style New Moon / Full Moon / Blood Moon markers.
Evaluate performance on liquid symbols and timeframes that provide a sufficient number of phase cycles.
Default / publish settings
Initial capital: $10,000 (suggested)
Commission: 0.05% per trade (suggested)
Slippage: 1 tick (suggested)
Position sizing: TradingView strategy defaults (no leverage logic is added).
Timeframes: Intraday/Daily/Weekly supported. Monthly is blocked by design.
Chart type: Use standard chart types only (no Heikin Ashi, Renko, Kagi, P&F, Range) for signals/backtests.
Reading the chart
New Moon: soft gray circle above bars.
Full Moon: soft yellow circle below bars.
Blood Moon (if date-matched): soft red circle below bars.
The script also ensures symbol/timeframe context is visible—keep your chart clean so the markers are easy to interpret.
Limitations & important notes
This is a time-based heuristic. It does not forecast price and does not repaint via lookahead tricks; it avoids future leakage by anchoring to the last known phase time at each bar.
No non-standard chart signals. Using non-standard charts can produce unrealistic results.
Strategy properties like commission/slippage materially affect results—please set them to realistic values.
Backtests should include a large sample (ideally >100 trades over many cycles) to make statistics meaningful.
Past performance does not guarantee future results.
Open-source reuse / credits
Uses standard, public-domain techniques for Julian date conversion and lunar-phase approximations.
Blood Moon dates are incorporated as a hard-coded list for convenience; you may extend or adjust this list as needed.
No third-party proprietary code is reused.
Changelog / versioning
v1: Initial public release on Pine v6 with phase detection, Blood-Moon tagging, and a minimal long-only phase strategy.
Moon Phases: 1st Quarter, Full, 3rd QuarterTracks the Lunar phase or Moon phase, which is the apparent shape of the Moon's day and night phases of the lunar day as viewed from earth.
Moon Phases Strategy with CCI EXTRIME TPHELLO TO ALL ASTROLGY TRADING LOVERS
***im not a native english speaker and im not going to google translte it so soory for mastakes ****
this is an amzing script of moon cycle strategy
for long -
price need to be above MA
it will buy in full moon and will sell at new moon
i added an extrime CCI TP that if cci is over bought above 200 line it will close position- it cant be edited out so enjoy it.
for short-
price need to be below MA
it will short when new moon and buy back when fullmoon
i added an extrime CCI tp that if cci is oversold under -200 line it will close position - it cant be edited out so enjoy it.
just edit the new moon Reference date by your UTC TIME!!! ׂ( GOOGLE 'NEW MOON DATE')
לכל אוהבי האסטרולוגיה ומסחר בכוכבים
סקריפט פשוט מעולה!
ללונג- האסטרטגיה קונה כאשר המחיר מעל הממוצע ויש ירח מלא-היא מוכרת כאשר יש ירח חדש או כאשרס.ס.י חוצה את קו ה200
בשורט היא עושה ההפך ומוכרת כאשר יש ירח חדש והמחיר מתחת לממוצע-היא סוגרת את הפוזציה כאשר יש ירח מלא או כאשר ס.ס.י חוצה מטה את רמת המינוס 200
אנא ערכו את התאריך רפרנס לירח לפי אזור הזמן שלכם חפשו בגוגל ''תאריך ירח חדש'.
BACKTEST RETURNS SOOOOOO GOOOOD !
הבאק טסטים חוזרים מושלמים
trade with the stars and rip markets
Moon Phases/Apogee & Perigee/Eclipses/North Node by BTThis script helps us to display date of different lunar properties on price chart. Simply following items could be used to see dates.
New moon
Full moon
Apogee
Perigee
North node
I've used following web site (fourmilab.ch) for obtaining exact dates, according to web site "All dates and times are Universal time (UTC); to convert to local time add or subtract the difference between your time zone and UTC"
HIROroom mix indicator「ALL」Moon phases 2020 for Japan
月の満ち欠け 2020年度 日本向け
Full Moon is Purple line
満月は紫色
New Moon is Red line
新月は赤色
ーーーーーーーーーーーーーーーー
Planet orbit cycle Line
惑星の公転周期
Bulu Line : MERCUR
青:水星
Yellow Line : VENUS
黄色:金星
Green Line : EARTH
緑:地球
Orange Line : MSRS
オレンジ:火星
A line that divides one lap into four
1周を4分割したライン
ーーーーーーーーーーーーーーーー
EMA、SMA period can be set
Background used KDJ、SMA logic
When the background is green, there is a chance to buy and when it is red, there is a chance to sell
複数のEMA、SMAを表示できます。
EMA、SMAの期間が設定でき、表示/非表示の設定も可能です。
背景にはKDJのロジックを使用しています。
背景が緑色の時は買いのチャンスで、赤色の時は売りのチャンスです
Celestial Cycles [Orderflowing]Astronomical Calculations | Moon Phases | Lunar Cycles & Rare Events | Solar Eclipses & Seasonal Markers | Mercury Retrograde Analysis | Momentum-Based Trend Coloration | Moon Information Table | Customizable Alerts
Built using Pine Script V6
Introduction
The Celestial Cycles indicator is a simple yet complex script that merges the timeless influence of astronomical events with modern technical analysis. By plotting key celestial phenomena, such as moon phases, seasonal markers, and Mercury retrograde periods onto your price chart, this indicator offers traders a fresh perspective on market cycles.
If you like financial astrology or seeking a creative edge, it provides a visually intuitive way to explore potential correlations between celestial events and market behavior.
This indicator is ideal for traders of all experience levels looking to integrate the celestial cycle into their strategies, complementing traditional technical tools with a unique layer of analysis.
Innovation and Inspiration
Inspired by financial astrology. The notion that celestial events, like moon phases or planetary retrogrades, might influence human psychology and market dynamics has intrigued traders for a long time. "Millionaires don’t use astrology, billionaires do." (allegedly): ~J.P. Morgan
This indicator modernizes that concept with astronomical calculations, plotting these events on your chart.
Core Features
Moon Phases: Displays new moons, full moons, and quarter moons, with optional micro phases (1/8, 3/8, 5/8, 7/8) for detailed analysis.
Special Moons: Highlights rare events like blood moons (lunar eclipses) and blue moons with distinct markers.
Solar Eclipses: Marks solar eclipses during new moon phases when enabled.
Seasonal Events: Plots "Spring | Equinox," "Summer | Solstice," "Autumn | Equinox," and "Winter | Solstice" for cyclical context.
Mercury Retrograde: Visualizes current and future Mercury retrograde periods with background highlights and labels.
Trend Coloration: Colors price bars based on momentum to aid trend visualization (optional).
Information Table: Shows real-time moon age and phase details in a table.
Customizable Alerts: Set up alerts for moon phases, special moon events, seasonal events, and Mercury retrograde transitions to stay informed about key celestial occurrences.
Customization and User Inputs
Celestial Cycles is customizable, allowing you to adjust it to your liking:
Event Toggles: Show or hide specific events (e.g., moon phases, special moons, eclipses, seasonal events, Mercury retrograde).
Visual Adjustments: Set colors and positions (above or below bars) for each event type.
Phase Timing: Fine-tune moon phase detection with hour-based adjustments for precision.
Trend Settings: Enable/disable trend coloration and adjust the momentum calculation period.
Mercury Retrograde Options: Display current retrogrades and up to 10 future periods, with customizable visibility.
Alert Settings: Enable or disable alerts for specific celestial events, including moon phases, special moons, seasonal events, and Mercury retrograde starts and ends.
These options ensure a clean, focused chart highlighting only the elements most relevant to your analysis.
How It Works
The indicator leverages code to show celestial events:
Moon Phases: Calculated using Julian dates and ecliptic coordinates to determine moon age and phase transitions.
Special Events: Detects eclipses and rare moons by analyzing lunar and solar positions relative to the ecliptic plane.
Seasonal Markers: Identifies "Spring | Equinox," "Summer | Solstice," "Autumn | Equinox," and "Winter | Solstice".
Mercury Retrograde: Approximates retrograde cycles and projects future periods based on a simplified orbital model.
Trend Coloration: Applies a momentum oscillator to color bars, reflecting potential bullish or bearish trend.
Analysis and Interpretation
Traders can use Celestial Cycles to explore intriguing market hypotheses:
Moon Phases: New and full moons may align with volatility spikes or trend reversals.
Eclipses: Eclipses might signal significant market shifts.
Seasonal Events: Equinoxes and solstices could highlight cyclical turning points.
Mercury Retrograde: Periods of potential disruption or reversal, often linked to communication and technology challenges.
Trend Coloration: Visual cues to confirm potential momentum alongside celestial events.
Usage and Applications
Long-Term Trends: High Timeframe (HTF) charts to study celestial impacts on major cycles.
Short-Term Trends: Apply to intraday timeframes (LTF) for event correlations.
Confluence: Pair with technical indicators for stronger signals.
Research: Backtest historical data to uncover patterns specific to your chosen market. Use the adjustment periods to fine-tune.
Why Use This Indicator?
Unique Perspective: Combines celestial and technical analysis.
Free Access: Enjoy a premium script with lots of features at no cost.
Customization: Personalize every aspect to suit your preferences.
Educational: Learn about astronomical cycles.
Stay Informed: Set up customizable alerts to receive event notifications.
Conclusion
Celestial Cycles is an exploration of how the cosmos might intersect with the markets. By overlaying key astronomical events on your chart and offering alerts, it invites you to see trading through a new lens. While not a crystal ball, it’s a compelling addition to a trader’s toolkit.
Disclaimer: This indicator is for informational, educational and analytical purposes only. Celestial correlations are speculative and should not be the sole basis for trading decisions. Always combine with other analysis methods and manage risk appropriately.
Gann Astronomical Turning PointsThis is a comprehensive Pine Script that implements W.D. Gann's astronomical theories to identify potential market turning points. Here's a detailed breakdown of the script:
Overview
The script identifies and displays astronomical events (sun angles, moon phases, and Mercury retrogrades) that Gann theorists believe correlate with market turning points. It also analyzes historical price performance following these events to provide statistical significance.
Key Components
1. Input Parameters
Date Range: Users can set the analysis period (start and end dates)
Display Options: Toggle visibility of different astronomical events and tables
Analysis Settings: Configure the lookback period for price change analysis (1-20 days)
2. Astronomical Calculations
The script includes several functions to calculate celestial positions:
getDaysSinceEpoch(t): Calculates days since January 1, 2000 (reference point)
getSunLongitude(t): Computes the Sun's position in the ecliptic (0-360°)
getMoonPhase(t): Determines the Moon's phase angle relative to the Sun
getMercuryLongitude(t): Calculates Mercury's position in the ecliptic
3. Gann Critical Angles (Sun Events)
The script identifies when the Sun reaches four critical angles that Gann considered significant:
0° Aries (Spring Equinox)
90° Cancer (Summer Solstice)
180° Libra (Fall Equinox)
270° Capricorn (Winter Solstice)
These are detected by tracking when the Sun's longitude crosses these specific angles.
4. Moon Phases
Four key moon phases are identified:
New Moon: Moon passes between Earth and Sun
First Quarter: Moon is 90° east of Sun
Full Moon: Moon is opposite the Sun
Last Quarter: Moon is 270° east of Sun
5. Mercury Retrograde Periods
The script detects when Mercury appears to move backward in its orbit:
Identifies start and end dates of retrograde motion
Displays these periods as highlighted zones on the chart
6. Price Change Analysis
For each astronomical event, the script:
Calculates the percentage price change over a user-defined lookback period
Categorizes changes as positive or negative
Stores this data for statistical analysis
7. Statistical Significance
The script calculates several metrics for each event type:
Average Price Change: Mean percentage change following events
Up/Down Ratio: Number of positive vs. negative changes
Accuracy Percentage: How often the dominant direction occurred
8. Visual Elements
The script includes multiple display components:
Event Labels
Sun Angles: Orange sun symbols displayed above price bars
Moon Phases: Moon phase emojis displayed below price bars
Mercury Retrograde: Red boxes highlighting the retrograde periods
Information Tables
Events Table: Shows upcoming and recent astronomical events
Significance Analysis Table: Displays statistical performance of each event type
Forecast Section: Identifies the next upcoming event and predicted direction
9. Forecasting Functionality
The script predicts market direction for the next astronomical event based on:
Historical average price change for that event type
Statistical accuracy of previous similar events
Color-coded forecast (green for bullish, red for bearish)
This script offers an interesting implementation of Gann's astronomical theories, but should be used as part of a broader analysis rather than as a standalone trading system.
Disclaimer: This indicator is for educational purposes only. Past performance does not guarantee future results. Always conduct your own research and risk assessment before trading.
Astrology Events
Astrology Events
This indicator marks critical astronomical events that correlate with significant market movements, based on established principles of financial astrology and planetary cycle analysis.
CORE ASTRONOMICAL EVENTS TRACKED:
Planetary Sign Ingress (0 degrees)
Outer planet sign changes: Saturn, Jupiter, Uranus, Neptune, Pluto.
Inner planet sign changes: Sun (monthly), Moon (every 2.5 days approximately).
Special emphasis on 0 degrees Aries ingress across all celestial bodies.
Critical Degrees
Ending degrees (29 degrees) - Anaretic degree before sign transition.
24-hour harmonic divisions (15-degree intervals).
Zero-degree ingress points for all major planets.
Planetary Stations
Retrograde stations: When planets appear to stop and reverse direction.
Direct stations: When retrograde planets resume forward motion.
Includes all outer planets (Jupiter, Saturn, Uranus, Neptune, Pluto) plus Mercury.
Mercury Retrograde Periods
Complete retrograde cycles with start and end dates.
One of the most reliable indicators for market volatility and reversals.
Major Planetary Aspects
Conjunctions (0 degrees separation).
Squares (90 degrees).
Oppositions (180 degrees).
Trines (120 degrees).
Focus on slow-moving outer planet pairs that historically correlate with market movements.
Lunar Cycles
Automatically calculated New Moon phases.
Automatically calculated Full Moon phases.
Uses astronomical algorithms for precise ephemeris calculation.
RULE OF 3 CLUSTER DETECTION
Markets typically require multiple simultaneous astronomical events to produce significant movements. This indicator automatically detects when three or more events occur within a configurable time window (default: 3 days). Clusters are highlighted with background shading and labeled for easy identification.
HIERARCHICAL IMPORTANCE PRINCIPLE
Events are weighted by planetary velocity:
Slower-moving planets (Pluto, Neptune, Uranus) produce larger, longer-lasting market effects.
Faster-moving planets (Sun, Moon) produce shorter-duration effects.
Outer planet events occur less frequently and are therefore more significant.
CONFIGURABLE PARAMETERS:
Event Toggles:
Planet sign changes (0 degrees).
Ending degrees (29 degrees).
Retrograde and Direct stations.
24-degree harmonic intervals.
Sun sign changes.
Moon sign changes.
Mercury retrograde periods.
Major planetary aspects.
Moon phases (auto-calculated).
Aries ingress highlighting.
Rule of 3 cluster detection.
Display Settings:
Label size options (tiny, small, normal).
Individual color customization for each event category.
Cluster detection time window (1-14 days).
Minimum events for cluster threshold (2-5 events).
VISUAL INDICATORS:
Labels: Event markers positioned above/below price bars.
Lines: Vertical lines for significant events (Mercury retrograde, Aries ingress).
Background shading: Highlights Rule of 3 clusters.
Information table: Real-time display of active event filters.
DATA INPUT REQUIREMENTS:
Sample astronomical event dates are provided as templates. For accurate real-time analysis, users should update dates using:
Professional astronomical ephemeris data.
Planetary position calculators.
Astronomical almanacs.
ASTRONOMICAL CALCULATION METHODS:
Moon phases are calculated using:
Julian Date conversion algorithms.
Solar and lunar anomaly calculations.
Ecclesiastical moon phase formulas.
Automatic adjustment for leap years.
APPLICATION IN MARKET ANALYSIS:
This indicator is designed to identify potential timing windows for market reversals, accelerations, or consolidations. It should be used in conjunction with:
Traditional technical analysis, volume trend indicators, risk management practices
LIMITATIONS:
Astronomical events indicate potential timing windows, not directional bias.
Correlation does not imply causation!!!
Historical correlation varies across different markets and time periods.
Should not be used as a standalone trading system.
RCOMANDATIONS:
Update event dates quarterly using current ephemeris data.
Monitor for Rule of 3 clusters as high-probability timing windows.
Pay particular attention to outer planet events (occur less frequently, higher significance).
Cross-reference astronomical timing with traditional support/resistance levels.
Use 0-degree Aries ingress and 29-degree positions as primary alerts.
This indicator is for educational purposes. Astronomical timing methods should be integrated with comprehensive market analysis, data and proper risk management practices.
P.S THIS IS VERSION 1 AND STILL IN TEST
Moon Phase & Celestial Events TrackerMoon Phase & Celestial Events Tracker
Overview
A comprehensive astronomical and celestial event indicator that tracks and projects major cosmic events from 2011 to 2040. This indicator overlays important astronomical phenomena directly on your charts, allowing traders and researchers to analyze potential correlations between celestial events and market movements.
Key Features
Eclipse Tracking 🌑
Blood Moons (Total Lunar Eclipses) including 2014-2015 tetrad
Partial Lunar Eclipses with distinctive yellow markers
Solar Eclipses: Total, Annular, Partial, and Hybrid types with unique symbols
Optional eclipse season background highlighting
Moon Cycles 🌕
Supermoons at perigee (closest Earth approach)
Regular moon phases: New, First Quarter, Full, Last Quarter
Adjustable phase marking with day-offset capability
Mercury Retrograde ☿
Start and end dates clearly marked
Optional period highlighting for entire retrograde duration
Complete cycle tracking through 2040
Seasonal Transitions ✨
Spring Equinox, Summer Solstice, Autumn Equinox, Winter Solstice
Precise astronomical season changes
Future Projections 📊
Event forecasting up to 5 years ahead
Customizable projection range (30-1825 days)
Selective projection by event type
Adjustable visual styles and transparency
Interpretation Guide
Blood Moons
Total lunar eclipses where Earth's atmosphere creates the red appearance. In financial astrology, these are often watched as potential reversal or volatility periods, though correlations vary significantly.
Eclipse Seasons
Twice-yearly windows when Sun-Earth-Moon alignment allows eclipses. Some market practitioners note increased volatility during these periods, though empirical evidence remains debated.
Mercury Retrograde
The apparent backward motion of Mercury occurs 3-4 times yearly. In trading folklore, it's associated with communication issues, technical problems, and false signals. Many practitioners suggest extra caution with new positions during these periods.
Supermoons
Full or new moons at closest Earth approach. Some traders track these for potential short-term highs/lows, particularly in commodities and currencies, though effects are subtle if present.
Seasonal Markers
Astronomical season changes have been incorporated into various market timing systems, with some analysts noting clustering of trend changes around these dates.
Use Cases
Historical pattern analysis
Event-based research
Educational astronomy tracking
Market cycle studies
Long-term planning and observation
Technical Details ⚙️
Data Coverage: 2011-2040 (30 years of precise astronomical events)
Compatibility: All timeframes with smart filtering (Weekly/Monthly show only major events)
Performance: Lightweight with efficient calculations and minimal chart impact
Data Source: Based on NASA ephemeris data for precise event timing
Customization Options 🎨
Individual colors for each event type
Transparency controls for projections
Event visibility toggles
Optional date labels on events
Alert Options 🔔
Set custom alerts for any tracked event including all eclipse types, moon phases, Mercury retrograde start/end, and seasonal transitions.
⚠️ Important Note
This indicator displays astronomical events for research and educational purposes. Any perceived correlations with market movements should be thoroughly backtested. Financial astrology interpretations are included for historical context only and should not be considered trading advice. Always use proper risk management and multiple forms of analysis in trading decisions.
Best Suited For
Market researchers and analysts
Students of market cycles
Those interested in astronomical timing
Educational and observational purposes
Long-term pattern analysis
RoboDCARoboDCA is an indicator I developed to help me accrue Bitcoin at its low point. It won't necessarily be at its lowest point but it's low enough that if you dollar cost average for the long term, the difference is negligible. While using this indicator, I find it also suitable for swing trades in the 4H timeframe every once in a while. Might be the indicator to use if you only do 2-5 trades a month last a few days between trades.
The fundamentals of RoboDCA came from these 2 theories:
Bill Williams Balance Line
Moon Phase
Bill Williams Balance Line
Bill Williams is fantastic, a lot of how I see the chart borrows from his books. For this particular case, his balance line is interesting to me because it's a series of highs and lows that are when broken through inspires a powerful move.
Moon Phase
Every month for as long as the moon and earth have danced in the cosmos, the moons gravity affects the earth physically. Some myth and legends like werewolves even came from this cosmic relationship. For prices though it paints a more honest relationship I would say. It is mostly accurate more than 50% of the time that when the moon's light intensity hits 90% or above, its gravity pulls prices to its lower if not lowest point for about 15 days in the past and 15 days in the future. While a new moon with its light intensity at the lowest would present a local peak.
I wasn't sure about this the first time but charts don't lie, they can't. For dollar cost average purposes, this is one of the best way of not just buying blindly into the market.
RoboDCA
Based on the 2 fundamentals above, I tried to create an indicator to help me see price movements and its direction more honestly. What I can say is this indicator tries to tell you if prices are in a good position to buy.
Numbers have always been interesting for me and while developing this indicator I came across an interesting one, number 528 . The number is supposedly an angelic number that communicates wealth and prosperity, sound like my kind of number. I thought to myself, the simplest prove is to just put the number to a moving average indicator. I opted for EMA to keep it close to prices compared to regular MA and I was pleasantly surprised.
As you can see, the EMA line acts as a perfect support and resistance. Breaking up or down the line would start a powerful move to the direction it was breaking at while touching the line through wicks held as strong support and resistance.
The problem I don't enjoy with moving averages is it's hard to measure zones, you'd need to zoom in into the candles to define the zones manually. I wanted something that would define the zones on screen without my intervention. This brought me back to Bill Williams Balance Line, they have highs and lows. The next step was to put the high/low from the balance line and EMA both lines creating a zone.
The zone created fits perfectly to my needs. Now I can see powerful moves before it happens. When a zone has been tested 2 or 3 times, the chances of prices making powerful moves is humongous. This is a zone that is derived from exponential moving averages of the last 528 high and low balance lines, this in itself is a strong indication for direction.
Let's couple the zone with moon phases like what the chart below illustrates.
In this daily chart, the blue upwards arrow represent an opportunity to buy while the red downward arrows represent an opportunity to sell based on Moon Phases. For dollar cost average, you can see that blue arrows that showed up near to the balance line ribbon represent a perfect buy entry, conviction to buy is as strong as it can be.
Although both Moon Phases and the zone should be enough to know when to buy, it doesn't tell a story of how the upcoming move came to be. Someone told me about another angelic number, this time it's number 247 . Let's how this stack up when put both EMA528 and EMA247 together.
It's a sight to behold.
When prices are moving back and forth between the both EMAs, it's telling you that a powerful move is soon coming. Most traders would also know the meaning of crossovers between a slower MA versus a faster MA or the other way around.
Conclusion
This indicator is written to help me dollar cost average, I hope the explanation above is enough to describe to you how to use the indicator opportunistically. I regret that for this indicator I decided to not share its source code. The logic for this indicator is described above which I'm sure can be a base for anyone to write their own version of it.
Above said, I wish everyone a 528 vibe of wealth and prosperity. Cheers!






















